//  IDVI 1.0 source copyright 1996 Garth A. Dickie
//
//  This source is free for non-commercial use.  No warranty, etc.
//  Please acknowledge reuse by including the line:
//
//  "Based in part on IDVI 1.0 source copyright 1996 Garth A. Dickie"
//
//  in your documentation and source code.  For commercial use or
//  distribution, please contact the author.  Please also send
//  questions, comments, bug reports, or fixes.
//
//  Best Regards,
//  Garth A. Dickie
//  dickie@elastic.avid.com

package ibook.v10.awt;

import java.awt.Button;
import java.applet.Applet;

public class RegularLayoutTestApplet extends Applet {
    public void init( ) {
        RegularLayout layout = new RegularLayout( );

        setLayout( layout );

        layout.add( add( new Button( "A" )),  0, 0, 2, 1 );
        layout.add( add( new Button( "B" )),  2, 0, 2, 1 );
        layout.add( add( new Button( "C" )),  5, 0, 2, 1 );
        layout.add( add( new Button( "D" )),  7, 0, 2, 1 );
        layout.add( add( new Button( "E" )),  9, 0, 3, 1 );
        layout.add( add( new Button( "F" )), 12, 0, 2, 1 );
        layout.add( add( new Button( "F" )), 14, 0, 2, 1 );
        layout.add( add( new Button( "G" )), 17, 0, 2, 1 );

        layout.setStretchColumn( 16 );
    }
}
